package com.springboot.chapter3.service;

import com.springboot.chapter3.pojo.User;
import org.springframework.stereotype.Service;

/**
 * 作者：paopao
 * 版本：1.0
 */
@Service
public class UserService {
    public void printUser(User user){
        System.out.println("编号：" + user.getId());
        System.out.println("姓名：" + user.getUserName());
        System.out.println("备注：" + user.getNote());
    }
}
